home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
prog_c
/
cuj0696.zip
/
DWYER.ZIP
/
SPECTRAL.TST
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1996-04-04
|
1KB
|
64 lines
#
# makefile for spectral test
#
CC = cl -c
BCC = bcc -c
BFLAGS = -d -I. -D__PROTO__
CFLAGS = -nologo $(OPTIMIZ) -I. -W4 -D__PROTO__ $(TEST) -Tc
.SUFFIXES:
.SUFFIXES: .exe .obj .cx
.cx.obj:
$(CC) $(CFLAGS) $<
.obj.exe:
cl -nologo $< /link extended $(LFLAGS)
.cx.exe:
$(CC) $(CFLAGS) $<
cl -nologo $< /link extended $(LFLAGS)
LFLAGS = /NOI /E /PACKC /F /ST:10240
LINK = /link $(LFLAGS) testsubs
OPTIMIZ = -Ot -Gs -Gy#-Oselg #-Oset #-qc
spectral.exe: spectral.obj extended.lib
cl -nologo spectral /link extended $(LFLAGS)
extended.lib: ..\qfloat\qfloatf.lib
cp ..\qfloat\qfloatf.lib extended.lib
tstepow.exe: tstepow.obj
cl -nologo tstepow /link extended $(LFLAGS)
SPECTRAL_SRCS = spectral.cx\
calcmert.cx\
euclstep.cx\
getctlda.cx\
getgcd.cx\
prtspdat.cx\
putxflt.cx\
putxfrac.cx\
putxint.cx\
xdot.cx\
xmatprt.cx\
specdefs.h\
xtendefs.h\
xqhead.h
spectral.obj: $(SPECTRAL_SRCS)
save:
-pkzip -u -x*.bak b:spectral makefile *.cx *.h *.inp inp*.*\
*.lib *.doc *.txt
xcg:
$(CC) /EP /P $(CFLAGS) spectral.cx
xcg main spectral.i | awk -f $(HOME)/extlist.awk | sed s/^........// |\
sed "s/ [.[]..*]$$//" | cat -n > spectral.xcg
del spectral.i